import request from '@/utils/request'

// 查询逾期未处置预警列表
export function listOverduealert(query) {
  return request({
    url: '/yanjing/overduealert/list',
    method: 'get',
    params: query
  })
}

// 查询逾期未处置预警详细
export function getOverduealert(id) {
  return request({
    url: '/yanjing/overduealert/' + id,
    method: 'get'
  })
}

// 新增逾期未处置预警
export function addOverduealert(data) {
  return request({
    url: '/yanjing/overduealert',
    method: 'post',
    data: data
  })
}

// 修改逾期未处置预警
export function updateOverduealert(data) {
  return request({
    url: '/yanjing/overduealert',
    method: 'put',
    data: data
  })
}

// 删除逾期未处置预警
export function delOverduealert(id) {
  return request({
    url: '/yanjing/overduealert/' + id,
    method: 'delete'
  })
}
